IChronologicalWorkQueue<T>
Assembly: ServiceStack.Redis.dll
View Source
Declaration
public interface IChronologicalWorkQueue<T> : IDisposable where T : class
Methods
Enqueue(String, T, Double)
View Source
Declaration
void Enqueue(string workItemId, T workItem, double time)
Parameters
Type | Name |
---|---|
System.String | workItemId |
<T> | workItem |
System.Double | time |
Dequeue(Double, Double, Int32)
View Source
Declaration
IList<KeyValuePair<string, T>> Dequeue(double minTime, double maxTime, int maxBatchSize)
Returns
System.Collections.Generic.IList<System.Collections.Generic.KeyValuePair<System.String,<T>>>
Parameters
Type | Name |
---|---|
System.Double | minTime |
System.Double | maxTime |
System.Int32 | maxBatchSize |